<@mits.HeaderLoginDiv />

<body>

<div id="autoFit">
<div id="Header">
  <div class="Header_logoBar"></div>
</div>
  <div id="Main">
    <div class="Main_fix">
  <div class="Main_fix">
		<div class="Main_loginBar">
		<form method="post" action="${base}/common/doLogin.action" id="loginForm" name="loginForm">		
		<span id="loginparamValidate"></span>
		<div class="login">
			<div class="login_content">
				<div class="login_user"><input type="text" class="login_input"  onkeypress="if(event.keyCode==13){$('password').focus()}"  dataType="Require" msg="用户名不能为空" name="userName" id="userName"  /></div>
				<div class="login_password"><input type="password" class="login_input"  onkeypress="if(event.keyCode==13){$('loginForm').submit()}" dataType="Require" msg="密码不能为空" name="password" id="password"/></div>
				<div class="login_error"><#if errorMsg?exists><span style="color:red"><@ww.text name="${errorMsg?if_exists}"/></#if></div>
				<div class="login_button"><input type="button" class="login_button_bg"  onclick="doSubmit()"  /></div>
			</div>
		</div>
		</form>
		
		</div>
  
	</div>
  </div>

<script language="javascript" >
	function doSubmit(){
		if(Validator.Validate($("loginForm"),3)){
			$('loginForm').submit()
		}
	}
	 if(top!=self){
          if(top.location != self.location)
               top.location=self.location; 
     }
	
</script>